package com.bicon.base.data.pojo.botu;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 定制方案
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("trace_plan")
public class TracePlan extends Model<TracePlan> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 商品id
     */
    @TableField("product_id")
    private String productId;
    /**
     * 海报图片
     */
    @TableField("poster_picture")
    private String posterPicture;
    /**
     * 方案code
     */
    @TableField("plan_code")
    private String planCode;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 方案名称
     */
    private String name;
    /**
     * 适用人群
     */
    @TableField("suit_crowd")
    private String suitCrowd;
    @TableField("create_date")
    private Date createDate;
    @TableField("update_date")
    private Date updateDate;
    @TableField("logic_delete")
    private String logicDelete;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getPosterPicture() {
        return posterPicture;
    }

    public void setPosterPicture(String posterPicture) {
        this.posterPicture = posterPicture;
    }

    public String getPlanCode() {
        return planCode;
    }

    public void setPlanCode(String planCode) {
        this.planCode = planCode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSuitCrowd() {
        return suitCrowd;
    }

    public void setSuitCrowd(String suitCrowd) {
        this.suitCrowd = suitCrowd;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TracePlan{" +
        "id=" + id +
        ", productId=" + productId +
        ", posterPicture=" + posterPicture +
        ", planCode=" + planCode +
        ", userId=" + userId +
        ", name=" + name +
        ", suitCrowd=" + suitCrowd +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", logicDelete=" + logicDelete +
        "}";
    }
}
